\hypertarget{singlePhase3D_8cpp}{
\subsection{Examples/09FlowInPorousMedia/singlePhase3D.cpp File Reference}
\label{singlePhase3D_8cpp}\index{Examples/09FlowInPorousMedia/singlePhase3D.cpp@{Examples/09FlowInPorousMedia/singlePhase3D.cpp}}
}


Single phase in porous media in 1D.  




\subsubsection{Detailed Description}
\begin{DoxyParagraph}{Description}
This code solves the 3D single phase equation for pressure: $ \frac{\phi \mu c}{k}\frac{\partial p}{\partial t} = \nabla^2 p $. This equation is solved in $ (x,y,z) \in [0,100 cm] \times [0,10 cm] \times [0,10 cm] $. The data used are: The initial condition for the temperature is $ P = 0 $ and the boundary conditions: $ P_L=2 atm $ and $ P_R=1 atm$. 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Compiling and running}
Modify the variables BASE and BLITZ in the file {\ttfamily tuna-\/cfd-\/rules.in} according to your installation and then type the next commands: \begin{DoxyVerb}
   % make
   % ./singlePhase  \end{DoxyVerb}

\end{DoxyParagraph}
\begin{DoxyAuthor}{Author}
Luis M. de la Cruz \mbox{[} Mon Mar 17 08:47:37 GMT 2008 \mbox{]} 
\end{DoxyAuthor}


Definition in file \hyperlink{singlePhase3D_8cpp_source}{singlePhase3D.cpp}.

